package com.zhz.model.demo;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.zhz.common.tool.mybatisplus.base.dal.entity.BasePO;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.experimental.SuperBuilder;

/**
 * @author zhouhengzhe
 * @date 2023/4/6
 */
@Data
@EqualsAndHashCode(callSuper=true)
@AllArgsConstructor
@NoArgsConstructor
@SuperBuilder
@TableName(value = "user")
public class UserDemo extends BasePO {
    @TableField(USER_ID)
    private String userId;
    @TableField(USER_NAME)
    private String userName;
    public static final String USER_ID="user_id";
    public static final String USER_NAME="user_name";
}
